package com.hgl.bi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hgl.bi.web.entity.RoleEntity;
import com.hgl.bi.web.model.dto.RolePmtDto;

import java.util.List;

/**
 * @program: BI
 * @description: 角色服务层
 * @author: hgl
 * @create: 2025-02-12 16:13
 */
public interface RoleService extends IService<RoleEntity> {

    void awardPermission(RolePmtDto rolePmtDto);

    List<Long> getRolePermissions(Long id);

    void removeRolePermission(RolePmtDto rolePmtDto);

}
